package com.cainiao.pojo;

import java.util.Date;

/**
 * 用户消息信息表
 * UserMessage
 * 数据库表：user_message
 */
public class UserMessage {

    /**
     * 
     * 表字段 : user_message.id
     */
    private Long id;

    /**
     * 应用code
     * 表字段 : user_message.biz_code
     */
    private String bizCode;

    /**
     * 
     * 表字段 : user_message.sender_id
     */
    private Long senderId;

    /**
     * 
     * 表字段 : user_message.receiver_id
     */
    private Long receiverId;

    /**
     *   1 2
     * 表字段 : user_message.type
     */
    private Boolean type;

    /**
     *  0 1 2 3 
     * 表字段 : user_message.send_type
     */
    private Boolean sendType;

    /**
     * 消息标题
     * 表字段 : user_message.title
     */
    private String title;

    /**
     * 消息内容
     * 表字段 : user_message.content
     */
    private String content;

    /**
     *  1 2 
     * 表字段 : user_message.status
     */
    private Boolean status;

    /**
     * 逻辑删除标志
     * 表字段 : user_message.delete_mark
     */
    private Byte deleteMark;

    /**
     * 
     * 表字段 : user_message.gmt_created
     */
    private Date gmtCreated;

    /**
     * 
     * 表字段 : user_message.gmt_modified
     */
    private Date gmtModified;

    /**
     * 关联的全局消息id
     * 表字段 : user_message.global_id
     */
    private Long globalId;

    /**
     * 获取  字段:user_message.id
     *
     * @return user_message.id, 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置  字段:user_message.id
     *
     * @param id the value for user_message.id, 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 应用code 字段:user_message.biz_code
     *
     * @return user_message.biz_code, 应用code
     */
    public String getBizCode() {
        return bizCode;
    }

    /**
     * 设置 应用code 字段:user_message.biz_code
     *
     * @param bizCode the value for user_message.biz_code, 应用code
     */
    public void setBizCode(String bizCode) {
        this.bizCode = bizCode == null ? null : bizCode.trim();
    }

    /**
     * 获取  字段:user_message.sender_id
     *
     * @return user_message.sender_id, 
     */
    public Long getSenderId() {
        return senderId;
    }

    /**
     * 设置  字段:user_message.sender_id
     *
     * @param senderId the value for user_message.sender_id, 
     */
    public void setSenderId(Long senderId) {
        this.senderId = senderId;
    }

    /**
     * 获取  字段:user_message.receiver_id
     *
     * @return user_message.receiver_id, 
     */
    public Long getReceiverId() {
        return receiverId;
    }

    /**
     * 设置  字段:user_message.receiver_id
     *
     * @param receiverId the value for user_message.receiver_id, 
     */
    public void setReceiverId(Long receiverId) {
        this.receiverId = receiverId;
    }

    /**
     * 获取   1 2 字段:user_message.type
     *
     * @return user_message.type,   1 2
     */
    public Boolean getType() {
        return type;
    }

    /**
     * 设置   1 2 字段:user_message.type
     *
     * @param type the value for user_message.type,   1 2
     */
    public void setType(Boolean type) {
        this.type = type;
    }

    /**
     * 获取  0 1 2 3  字段:user_message.send_type
     *
     * @return user_message.send_type,  0 1 2 3 
     */
    public Boolean getSendType() {
        return sendType;
    }

    /**
     * 设置  0 1 2 3  字段:user_message.send_type
     *
     * @param sendType the value for user_message.send_type,  0 1 2 3 
     */
    public void setSendType(Boolean sendType) {
        this.sendType = sendType;
    }

    /**
     * 获取 消息标题 字段:user_message.title
     *
     * @return user_message.title, 消息标题
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置 消息标题 字段:user_message.title
     *
     * @param title the value for user_message.title, 消息标题
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     * 获取 消息内容 字段:user_message.content
     *
     * @return user_message.content, 消息内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置 消息内容 字段:user_message.content
     *
     * @param content the value for user_message.content, 消息内容
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    /**
     * 获取  1 2  字段:user_message.status
     *
     * @return user_message.status,  1 2 
     */
    public Boolean getStatus() {
        return status;
    }

    /**
     * 设置  1 2  字段:user_message.status
     *
     * @param status the value for user_message.status,  1 2 
     */
    public void setStatus(Boolean status) {
        this.status = status;
    }

    /**
     * 获取 逻辑删除标志 字段:user_message.delete_mark
     *
     * @return user_message.delete_mark, 逻辑删除标志
     */
    public Byte getDeleteMark() {
        return deleteMark;
    }

    /**
     * 设置 逻辑删除标志 字段:user_message.delete_mark
     *
     * @param deleteMark the value for user_message.delete_mark, 逻辑删除标志
     */
    public void setDeleteMark(Byte deleteMark) {
        this.deleteMark = deleteMark;
    }

    /**
     * 获取  字段:user_message.gmt_created
     *
     * @return user_message.gmt_created, 
     */
    public Date getGmtCreated() {
        return gmtCreated;
    }

    /**
     * 设置  字段:user_message.gmt_created
     *
     * @param gmtCreated the value for user_message.gmt_created, 
     */
    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    /**
     * 获取  字段:user_message.gmt_modified
     *
     * @return user_message.gmt_modified, 
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * 设置  字段:user_message.gmt_modified
     *
     * @param gmtModified the value for user_message.gmt_modified, 
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * 获取 关联的全局消息id 字段:user_message.global_id
     *
     * @return user_message.global_id, 关联的全局消息id
     */
    public Long getGlobalId() {
        return globalId;
    }

    /**
     * 设置 关联的全局消息id 字段:user_message.global_id
     *
     * @param globalId the value for user_message.global_id, 关联的全局消息id
     */
    public void setGlobalId(Long globalId) {
        this.globalId = globalId;
    }
}